<?php
echo '
<div id="Form" class="AddComments">
	<fieldset>
		<legend>'.$this->Title.'</legend>
		'.$this->Get_Warnings().'
		'.$this->Get_PostBackForm('frmPostComment', 'post', 'extension.php').'
		<ul>
			<li>
				<label for="CommentBox">
				<a href="./" id="CommentBoxController" onclick="'
				."ToggleCommentBox('".$this->Context->Configuration['WEB_ROOT']."ajax/switch.php', '".$this->Context->GetDefinition('SmallInput')."', '".$this->Context->GetDefinition('BigInput')."'); return false;".'">'.$this->Context->GetDefinition($this->Context->Session->User->Preference('ShowLargeCommentBox')?'SmallInput':'BigInput').'</a>'.$this->Context->GetDefinition('MessageBody').'
				</label>
				<textarea name="Body" class="'
				.($this->Context->Session->User->Preference('ShowLargeCommentBox') ? 'LargeCommentBox' : 'SmallCommentBox')
				.'" id="CommentBox" rows="10" cols="85"'.$this->CommentFormAttributes.'>'
				.$Comment->Body
				.'</textarea>
			</li>
			'.$this->GetPostFormatting($Comment->FormatType).'
		</ul>
		<div class="Submit">
			<input type="submit" name="btnSave" value="'.$this->Context->GetDefinition('SendPrivateMessage').'" class="Button SubmitButton AddCommentsButton" onclick="'
			."Wait(this, '".$this->Context->GetDefinition('Wait')."');"
			.'" />
			<a href="'.GetUrl($this->Context->Configuration, 'extension.php', '', '', '', '', 'PostBackAction=PrivateMessages').'" class="CancelButton">'.$this->Context->GetDefinition('Cancel').'</a>
		</div>
	</form>
	</fieldset>
</div>';
?>